/*---------------------------------------------------------------------------------------
 
	File Name:			login.js	
	Create Time:		Jun 17th, 2007.
	Author:				Seamuz
	All Rights Reserved (c) Huohai Co.,Ltd
 
----------------------------------------------------------------------------------------*/

function checkrestart()
{
	var f =form('RestartForm');
	
	if (f.username.value == '')
	{
		alert('请输入管理帐号');
		f.username.focus();
		return false;
	}
	if (f.password.value == '')
	{
		alert('请输入管理口令');
		f.password.focus();
		return false;
	}
	if (f.verification)
	{
		if (f.verification.value == '')
		{
			alert('请输入验证码');
			f.verification.focus();
			return false;
		}
	}
	return true;
}
